function util:entity_owner/find_son_distance10 with entity @s

execute as @n[tag=guardTower.powerInputInteraction,distance=..10,tag=son_entity,type=interaction] if data entity @s interaction run tag @s add inputClicked

tag @e[tag=son_entity,distance=..10] remove son_entity

execute if entity @n[type=interaction,distance=..10,tag=inputClicked] run return 1
return fail